<h1>New user</h1>

<% form_for :user, :url => users_path  do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :name %><br />
    <%= f.text_field :login %>
  </p>
  <p>
    <%= f.label :email %><br />
    <%= f.text_field :email %>
  </p>  
  <p>
    <%= f.label :password %><br />
    <%= f.password_field :password %>
  </p>  
  <p>
    <%= f.submit 'Create' %>
  </p>
<% end %>
